package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 决策管理对象 decision_table
 * 
 * @author ruoyi
 * @date 2025-01-15
 */
public class DecisionTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 决策id */
    private Long decisionId;

    /** 警告id */
    @Excel(name = "警告id")
    private Long alertId;

    /** 措施 */
    @Excel(name = "措施")
    private String action;

    public void setDecisionId(Long decisionId) 
    {
        this.decisionId = decisionId;
    }

    public Long getDecisionId() 
    {
        return decisionId;
    }
    public void setAlertId(Long alertId) 
    {
        this.alertId = alertId;
    }

    public Long getAlertId() 
    {
        return alertId;
    }
    public void setAction(String action) 
    {
        this.action = action;
    }

    public String getAction() 
    {
        return action;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("decisionId", getDecisionId())
            .append("alertId", getAlertId())
            .append("action", getAction())
            .toString();
    }
}
